package com.example.demo.services;

import com.example.demo.dao.ArticleVisitTotalDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ArticleVisitTotalService {

    @Resource
    ArticleVisitTotalDao articleVisitTotalDao;

    /**
     * 更新今天访问总数
     * @return
     */
    public int updateTodayVisitTotal(){
        //articleVisitTotalDao.updateTodayVisitTotal();
        return 1;
    }

}
